package com.example.demo.service;

import com.example.demo.mapper.InvitationMapper;
import com.example.demo.pojo.Invitation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class InvitationServiceImpl implements InvitationService{
    @Autowired
    private InvitationMapper invitationMapper;
    @Override
    public List<Invitation> getByContext(Invitation invocation) {
        return invitationMapper.selectByContext(invocation);
    }
}
